/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package SYSGEST.br.Login;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;



/**
 *
 * @author AELSON
 */
@Entity
@Table(name = "Login")
public class Login {

    @Id
    @GeneratedValue
    private int codigo;

    @Column(unique = true, nullable = false, length = 8)
    private String log;

    @Column(unique = true, nullable = false,length = 8 )
    private String senha;

}
